package com.damage.business_dept.mapper;

import com.damage.common.entity.Supplier;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ISupplierMapper {

    Integer insert(Supplier supplier);

    List<Supplier> findAll();

    Supplier findById(Integer id);

    Supplier findByName(String name);

    List<Supplier> findLikeName(String name);

    Integer update(Supplier supplier);

    Integer deleteById(Integer id);
}
